package com.hongxun.modules.bss.service;

import com.hongxun.modules.bss.entity.DMaterialModelEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-11-02 15:23:03
 */
public interface DMaterialModelService {
	
	DMaterialModelEntity queryObject(String guid);
	
	List<DMaterialModelEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(DMaterialModelEntity dMaterialModel);
	
	void update(DMaterialModelEntity dMaterialModel);
	
	void delete(String guid);
	
	void deleteBatch(String[] guids);

	void insertOrReplaceOrDelete(List<DMaterialModelEntity> entities);
}
